docs(java): update fiori-drafts table for draftNew / post-active semantics#2516
Merged
docs(java): update fiori-drafts table for draftNew / post-active semantics#2516
Conversation
…ntics Reflect the new POST behavior introduced when an entity has a `@Common.DraftRoot.NewAction` (draftNew action): a plain POST now creates an active entity instead of a draft, while `POST /draftNew` creates the draft. Also document that `cds.drafts.post-active` is auto-detected from the annotation presence rather than requiring explicit configuration.
Contributor
Author
|
@renejeglinsky @smahati please have a look! :) |
agoerler
reviewed
Apr 21, 2026
Co-authored-by: Adrian Görler <adrian.goerler@sap.com>
smahati
approved these changes
Apr 23, 2026
Co-authored-by: Adrian Görler <adrian.goerler@sap.com>
agoerler
reviewed
Apr 23, 2026
Co-authored-by: Adrian Görler <adrian.goerler@sap.com>
agoerler
approved these changes
Apr 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
POSTrow in the "Editing Drafts" table into three rows reflecting the new branching behavior: explicitIsActiveEntity=falsecreates a draft, plain POST on entities without adraftNewaction keeps the classic draft behavior, and plain POST on entities with adraftNewaction now creates an active entityPOSTwith actiondraftNew(the new way to create a draft in direct CRUD mode)cds.drafts.post-activeis now auto-detected from@Common.DraftRoot.NewActionpresence rather than requiring explicit configurationTest plan